<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" lang="zh">
<head>
<meta charset="UTF-8">
<title>欢迎登录</title>
</head>
<body>
	<div>
		<span>用户登录</span>

		<form method="post" action="/doLogin">
			用户: <input name="username" type="text"> <br />
			密码: <input name="password" type="password"> <br />
			<input type="submit" name="提交"> <br />
		</form>

		<div style="color: red" th:text="${errorMess}"></div>
	</div>
</body>
</html>